/*
Copyright (C) 1997-2001 Id Software, Inc.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

// Created on 28.11.2003 by RST.
//$Id: clientinfo_t.java,v 1.1.1.1 2004/07/07 19:58:52 hzi Exp $
using System;
using Suake2.UI;
using Suake2.UI.render;
namespace Suake2.UI.client
{
	
	public class clientinfo_t
	{
		public clientinfo_t()
		{
			InitBlock();
		}
		private void  InitBlock()
		{
			weaponmodel = new model_t[Defines.MAX_CLIENTWEAPONMODELS];
		}
		internal System.String name = "";
		internal System.String cinfo = "";
		internal image_t skin; // ptr
		internal image_t icon; // ptr
		internal System.String iconname = "";
		internal model_t model; // ptr
		//UPGRADE_NOTE: The initialization of  'weaponmodel' was moved to method 'InitBlock'. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1005'"
		internal model_t[] weaponmodel; // arary of references
		
		//	public void reset()
		//	{
		//		set(new clientinfo_t());
		//	}
		
		public virtual void  set_Renamed(clientinfo_t from)
		{
			name = from.name;
			cinfo = from.cinfo;
			skin = from.skin;
			icon = from.icon;
			iconname = from.iconname;
			model = from.model;
			Array.Copy(from.weaponmodel, 0, weaponmodel, 0, Defines.MAX_CLIENTWEAPONMODELS);
		}
	}
}